﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Add.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Param.Add" %>

<div class="pageContent">
<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/Basics/Param/Add.aspx">

<input runat="Server" id="group_id" type="hidden" />
<input runat="Server" id="item_id" type="hidden" />

    <div class="pageFormContent" layoutH="56">
    
    <h2 class="contentTitle">参数增加</h2>
    
        <dl class="nowrap">
            <dt>组：</dt>
		    <dd><input readonly="true" name="field5" size="50" type="text" value='<%=_paramGroupDb.ItemValue%>（<%=_paramGroupDb.ItemCode%>）'/></dd>
        </dl>
		<dl class="nowrap">
            <dt>代码：</dt>
		    <dd><asp:textbox id="tb_code" runat="server" size="50"/></dd>
        </dl>
		<dl class="nowrap">
            <dt>值：</dt>
		    <dd><asp:textbox id="tb_value" runat="server" size="50"/></dd>
        </dl>
        
        <%if (_itemExpDataList[0].Enable)
          {%>
		<dl class="nowrap">
            <dt><%= _itemExpDataList[0].GroupName%></dt>
            <%if (string.IsNullOrEmpty(_itemExpDataList[0].Relation.Trim()))
              {%>
		    <dd><asp:textbox id="tb_list_0" runat="server" size="50"/></dd>
		    <%}else{ %>
            <dd><asp:dropdownlist runat="server" id="ddl_list_0" width="150px"></asp:dropdownlist></dd>
		    <%} %>
        </dl>
        <% }%>
        
        <%if (_itemExpDataList[1].Enable)
          {%>
		<dl class="nowrap">
            <dt><%= _itemExpDataList[1].GroupName%></dt>
            <%if (string.IsNullOrEmpty(_itemExpDataList[1].Relation.Trim()))
              {%>
		    <dd><asp:textbox id="tb_list_1" runat="server" size="50"/></dd>
		    <%}else{ %>
            <dd><asp:dropdownlist runat="server" id="ddl_list_1" width="150px"></asp:dropdownlist></dd>
		    <%} %>
        </dl>
        <% }%>
        
        <%if (_itemExpDataList[2].Enable)
          {%>
		<dl class="nowrap">
            <dt><%= _itemExpDataList[2].GroupName%></dt>
            <%if (string.IsNullOrEmpty(_itemExpDataList[2].Relation.Trim()))
              {%>
		    <dd><asp:textbox id="tb_list_2" runat="server" size="50"/></dd>
		    <%}else{ %>
            <dd><asp:dropdownlist runat="server" id="ddl_list_2" width="150px"></asp:dropdownlist></dd>
		    <%} %>
        </dl>
        <% }%>
        
        <%if (_itemExpDataList[3].Enable)
          {%>
		<dl class="nowrap">
            <dt><%= _itemExpDataList[3].GroupName%></dt>
            <%if (string.IsNullOrEmpty(_itemExpDataList[3].Relation.Trim()))
              {%>
		    <dd><asp:textbox id="tb_list_3" runat="server" size="50"/></dd>
		    <%}else{ %>
            <dd><asp:dropdownlist runat="server" id="ddl_list_3" width="150px"></asp:dropdownlist></dd>
		    <%} %>
        </dl>
        <% }%>
        
        <%if (_itemExpDataList[4].Enable)
          {%>
		<dl class="nowrap">
            <dt><%= _itemExpDataList[4].GroupName%></dt>
            <%if (string.IsNullOrEmpty(_itemExpDataList[4].Relation.Trim()))
              {%>
		    <dd><asp:textbox id="tb_list_4" runat="server" size="50"/></dd>
		    <%}else{ %>
            <dd><asp:dropdownlist runat="server" id="ddl_list_4" width="150px"></asp:dropdownlist></dd>
		    <%} %>
        </dl>
        <% }%>
    </div>
    
    <div class="formBar">
	    <ul>
	        <li>
	        <div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div>
            </li>
			<li>
		    <div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
			</li>
		</ul>
	</div>
</form>
</div>